package com.ytkj.digitalConstruction.dao.constructionplan;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.ytkj.digitalConstruction.entity.constructionplan.ConstructionContent;

/**
 * 不停航施工Mapper
 * @author iking
 *
 */
@Mapper
public interface ConstructionContentMapper {
    int deleteByPrimaryKey(Integer contentId);

    int insert(ConstructionContent record);

    int insertSelective(ConstructionContent record);

    ConstructionContent selectByPrimaryKey(Integer contentId);

    int updateByPrimaryKeySelective(ConstructionContent record);

    int updateByPrimaryKey(ConstructionContent record);
    
    ConstructionContent selectByFlowId(Integer flowId);
    
    int insertByList(List<ConstructionContent> constructionContents);
    
    ConstructionContent selectYesterDayByProjectId(Integer projectId);
    
    String getTodayContentByFlowId(Integer flowId);
}